<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			{{str|gl}}
			<br>
			{{str|bb}}
		</div>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			Vue.filter('gl',function(val){
				return val.toUpperCase()
			})
			var app=new Vue({
				el:"#app",
				data:{
					str:'HFHjlsdfFHkfFH'
				},
				filters:{
					bb:function(val){
						return val.toLowerCase()
					}
				}
			})
		</script>
	</body>
</html>
